package com.yonyougov.devops.cruxcisupport.user.dto.controller;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "用户登录")
public class UserLoginRequestDto extends BaseRequestDto {
    @NotEmpty
    @ApiModelProperty(value = "用户名称", required = true)
    private String userName;

    @NotEmpty
    @ApiModelProperty(value = "用户密码", required = true)
    private String password;
}
